Quick-links:
A simple board with an RGB LED.
Since this RGB LED is a 'common anode' package, each of the 3 LEDs within the RGB package are lit by setting it's pin to 'low' (note that this is opposite to the behaviour of the 8 and 16 LED boards). The Anode pin (for connecting to 5v) provides the source.
The on-board current-limiting-resistors have been chosen to give similar brightness levels for each of the LEDs at 5v. With all 3 LEDs on, the current drawn will be less than 40mA.
Because of the limited total current drawn when all three LEDs are lit, the Anode can be connected directly to a uC's pin (as long as it is capable of sourcing up to 40mA). Used in this manner, this fourth pin can be used to 'enable' the LEDs. When this fourth pin outputs a '1', the LEDs are enabled (and will be lit if their individual pin is '0').
Sample code demonstrating simple 3-bit colour cycling will be available soon.
These boards are available with either straight header pins (as shown in the picture), or with right-angled header pins. Right-angled header pins mean that the board will stick up be vertically from your breadboard. It saves a small amount of breadboard area at the expense of mechanical stability.
Just the following version is available;
| version | voltage | comments |
|---|---|---|
| RGB | 5v | Not ideal for use with 3v, as the blue is rather dim. |
Parts with a BML0001 prefix:
| Part# | Description | price | |
|---|---|---|---|
| BML0001SA | straight pins | £ |
Not available
|
| BML0001RA | right-angled pins | £ |
Not available
|